﻿using System;
using System.Data;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Ccteg.Common
{
	/// <summary>
	///托管煤矿
	/// </summary>
	public class srb_main_mine
	{
		/// <summary>
		///唯一编码--
		/// </summary>
		[Key]
		[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
		public int Id { get; set; }

		/// <summary>
		///甲方-是否竣工--
		/// </summary>
		public bool? A_IsDone { get; set; }

		/// <summary>
		///甲方-设计/生产能力--
		/// </summary>
		public string A_Ability { get; set; }

		/// <summary>
		///甲方-隶属关系--
		/// </summary>
		public string A_Relation { get; set; }

		/// <summary>
		///甲方-所有制形式--
		/// </summary>
		public string A_Ownership { get; set; }

		/// <summary>
		///乙方-组织机构（自有煤矿填写)--
		/// </summary>
		public string B_Structure { get; set; }

		/// <summary>
		///乙方-人员配置（自有煤矿填写)--
		/// </summary>
		public string B_Staffing { get; set; }

		/// <summary>
		///乙方-单位负责人--
		/// </summary>
		public string B_InCharge { get; set; }

		/// <summary>
		///乙方-单位负责人联系电话--
		/// </summary>
		public string B_InChargeTel { get; set; }

		/// <summary>
		///乙方-单位安全负责人---
		/// </summary>
		public string B_InCharge_Safety { get; set; }

		/// <summary>
		///乙方-单位安全负责人联系电话--
		/// </summary>
		public string B_InChargeTel_Safety { get; set; }

		/// <summary>
		///乙方-项目负责人--
		/// </summary>
		public string B_PLeader { get; set; }

		/// <summary>
		///乙方-项目负责人联系电话--
		/// </summary>
		public string B_PLeaderTel { get; set; }

		/// <summary>
		///乙方-项目安全负责人--
		/// </summary>
		public string B_PLeader_Safety { get; set; }

		/// <summary>
		///乙方-项目安全负责人联系电话--
		/// </summary>
		public string B_PLeaderTel_Safety { get; set; }

		/// <summary>
		///乙方-项目在册人数（人）--
		/// </summary>
		public int? B_RegisterNum { get; set; }

		/// <summary>
		///乙方-项目合同额--
		/// </summary>
		public float? B_Amount { get; set; }

		/// <summary>
		///乙方-合同开工日期 --
		/// </summary>
		public DateTime? B_ExpectStart { get; set; }

		/// <summary>
		///乙方-预计竣工日期--
		/// </summary>
		public DateTime? B_ExpectEnd { get; set; }

		/// <summary>
		///乙方-实际开工日期--
		/// </summary>
		public DateTime? B_ActualStart { get; set; }

		/// <summary>
		///乙方-实际竣工日期--
		/// </summary>
		public DateTime? B_ActualEnd { get; set; }

		/// <summary>
		///乙方-承包范围--
		/// </summary>
		public string B_Scope { get; set; }

		/// <summary>
		///煤矿证照及资质的办理情况--
		/// </summary>
		public string License { get; set; }

		/// <summary>
		///乙方负责的主要工作内容--
		/// </summary>
		public string B_PLeaderContent { get; set; }

		/// <summary>
		///乙方项目部人员资质及证照情况--
		/// </summary>
		public string B_StaffLicense { get; set; }

		/// <summary>
		///安全生产管理体系的建设情况--
		/// </summary>
		public string SafetySystem { get; set; }

		/// <summary>
		///业务编码/各二级单位上传保证唯一，但二级单位之间有可能重复，通过和二级单位编码联合可保证唯一---
		/// </summary>
		public string SrbNo { get; set; }

		/// <summary>
		///安全风险业务全称（煤矿，工程，加工基地名称）--
		/// </summary>
		public string SrbName { get; set; }

		/// <summary>
		///安全风险业务简称（煤矿，工程，加工基地名称）--
		/// </summary>
		public string SrbShortName { get; set; }

		/// <summary>
		///二级单位名称--
		/// </summary>
		public string CompanyName { get; set; }

		/// <summary>
		///二级单位编码--
		/// </summary>
		public string CompanyNo { get; set; }

		/// <summary>
		///行业（煤炭，危化，机械，建筑，其他）--
		/// </summary>
		public string Trade { get; set; }

		/// <summary>
		///业务类型（煤炭-生产煤矿；危化-...）--
		/// </summary>
		public string Category { get; set; }

		/// <summary>
		///安全风险业务地址-区域--
		/// </summary>
		public string Area_R { get; set; }

		/// <summary>
		///安全风险业务地址-省份--
		/// </summary>
		public string Area_P { get; set; }

		/// <summary>
		///安全风险业务地址-城市--
		/// </summary>
		public string Area_C { get; set; }

		/// <summary>
		///安全风险业务详细地址--
		/// </summary>
		public string Area_Detail { get; set; }

		/// <summary>
		///填报人--
		/// </summary>
		public string WriteBy { get; set; }

		/// <summary>
		///填报人联系电话--
		/// </summary>
		public string WriteTel { get; set; }

		/// <summary>
		///填报日期--
		/// </summary>
		public DateTime? WriteOn { get; set; }

		/// <summary>
		///最后修改人--
		/// </summary>
		public string LastWriteBy { get; set; }

		/// <summary>
		///最后修改日期--
		/// </summary>
		public DateTime? LastWriteOn { get; set; }

		/// <summary>
		///安全风险业务坐标x（地图用）
		/// </summary>
		public string CoordX { get; set; }

		/// <summary>
		///安全风险业务坐标y （地图用）
		/// </summary>
		public string CoordY { get; set; }

		/// <summary>
		///安全风险业务概况（煤矿类型写入煤矿概括，工程项目填写工程主要内容，加工基地新增填写加工基地概况）---
		/// </summary>
		public string OverView { get; set; }

		/// <summary>
		///安全风险业务风貌（煤矿风采--图片）--
		/// </summary>
		public string FileImg { get; set; }

		/// <summary>
		///风险等级(预留)--
		/// </summary>
		public string RiskLevel { get; set; }

		/// <summary>
		///甲方联系人---
		/// </summary>
		public string Incharge { get; set; }

		/// <summary>
		///甲方联系电话--
		/// </summary>
		public string InchargeTel { get; set; }

		/// <summary>
		///风险业务等级（需要调级)--
		/// </summary>
		public string RiskBusinessLevel { get; set; }

		/// <summary>
		///所属二级单位名称--
		/// </summary>
		public string BeCompanyName { get; set; }

		/// <summary>
		///所属二级单位编码--
		/// </summary>
		public string BeCompanyNo { get; set; }

		/// <summary>
		///备注--
		/// </summary>
		public string Remark { get; set; }

		/// <summary>
		///总附件
		/// </summary>
		public string AllFile { get; set; }

		/// <summary>
		///未下发,已下发
		/// </summary>
		public string SubState { get; set; }

		/// <summary>
		///下发时间
		/// </summary>
		public DateTime? SubDate { get; set; }

		/// <summary>
		///未审批，已审批
		/// </summary>
		public string State { get; set; }

		/// <summary>
		///审核时间
		/// </summary>
		public DateTime? PassDate { get; set; }

		/// <summary>
		///未通过原因
		/// </summary>
		public string NoPassContent { get; set; }

		/// <summary>
		///创建时间
		/// </summary>
		public DateTime? CreatedOn { get; set; }

		/// <summary>
		///修改时间
		/// </summary>
		public DateTime? ModifiedOn { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string Domain { get; set; }

		/// <summary>
		///?默认空
		/// </summary>
		public string TenantId { get; set; }

		/// <summary>
		///排序
		/// </summary>
		public int? Sort { get; set; }

		/// <summary>
		///创建人
		/// </summary>
		public string CreatedBy { get; set; }

		/// <summary>
		///修改人
		/// </summary>
		public string ModifiedBy { get; set; }

		/// <summary>
		///是否删除（本系统逻辑删除)
		/// </summary>
		public bool? Deleted { get; set; }

	}
}